<!--
  Generated template for the LoginPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
    <ion-title>Login</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <ion-item>
    <ion-icon name="person" item-left color="primary"></ion-icon>
    <ion-input type="url" placeholder="Username" [(ngModel)]="username" name="username" required clearInput></ion-input>
  </ion-item>
  <ion-item>
    <ion-icon name="lock" item-left color="primary"></ion-icon>
    <ion-input type="password" placeholder="Password" [(ngModel)]="password" name="password" required clearInput></ion-input>
  </ion-item>
  <div text-center style="margin-top: 50px">
    <button ion-button full round (click)="login()">Login</button>
  </div>

</ion-content>